home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-06-15 | 31.7 KB | 1,098 lines |
- ;GIL-3
- (
- (
- :type :menu
- :name documentMenu
- :help ""
- :columns 1
- :menu-type :command
- :menu-handler nil
- :menu-title "Document"
- :menu-item-labels ("New" "Open..." "Save" "Save As..." "Close" "Quit" )
- :menu-item-label-types (:string :string :string :string :string :string )
- :menu-item-states (:active :active :active :active :active :active )
- :menu-item-defaults (nil t nil nil nil nil )
- :initial-selections (nil nil nil nil nil nil )
- :menu-item-handlers (NewHandler OpenHandler SaveHandler SaveAsHandler CloseHandler QuitHandler )
- :menu-item-menus (nil nil nil nil nil nil )
- :menu-item-colors ("" "" "" "" "" "" )
- :pinnable t
- :user-data ()
- :actions (
- (
- :from (documentMenu "New")
- :when (Notify )
- :to (documentMenu "New")
- :function_type CallFunction
- :arg_type ()
- :action (NewHandler)
- )
- (
- :from (documentMenu "Open...")
- :when (Notify )
- :to (documentMenu "Open...")
- :function_type CallFunction
- :arg_type ()
- :action (OpenHandler)
- )
- (
- :from (documentMenu "Save")
- :when (Notify )
- :to (documentMenu "Save")
- :function_type CallFunction
- :arg_type ()
- :action (SaveHandler)
- )
- (
- :from (documentMenu "Save As...")
- :when (Notify )
- :to (documentMenu "Save As...")
- :function_type CallFunction
- :arg_type ()
- :action (SaveAsHandler)
- )
- (
- :from (documentMenu "Close")
- :when (Notify )
- :to (documentMenu "Close")
- :function_type CallFunction
- :arg_type ()
- :action (CloseHandler)
- )
- (
- :from (documentMenu "Quit")
- :when (Notify )
- :to (documentMenu "Quit")
- :function_type CallFunction
- :arg_type ()
- :action (QuitHandler)
- )
- )
- )
- (
- :type :base-window
- :name mainWindow
- :owner nil
- :width 700
- :height 500
- :background-color ""
- :foreground-color ""
- :label "VideoFrame"
- :label-type :string
- :initial-state :open
- :show-footer t
- :resizable t
- :icon-file "icons/VideoFrame"
- :icon-label ""
- :icon-mask-file ""
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :control-area
- :name mainPanel
- :owner mainWindow
- :help ""
- :x 0
- :y 0
- :width 700
- :height 200
- :background-color ""
- :foreground-color ""
- :initial-state :visible
- :show-border nil
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :button
- :name documentMenuButton
- :owner mainPanel
- :help ""
- :x 32
- :y 16
- :width 94
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Document"
- :label-type :string
- :initial-state :active
- :menu documentMenu
- :notify-handler nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name currentSelectionMessage
- :owner mainPanel
- :help ""
- :x 344
- :y 24
- :width 189
- :height 13
- :foreground-color ""
- :label "Current Selection : New Edit"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :scrolling-list
- :name editList
- :owner mainPanel
- :help ""
- :x 16
- :y 56
- :width 250
- :height 110
- :value-x 16
- :value-y 56
- :rows 5
- :foreground-color ""
- :label ""
- :title ""
- :label-type :string
- :layout-type :horizontal
- :read-only t
- :multiple-selections nil
- :selection-required nil
- :initial-state :active
- :droppable nil
- :default-drop-site t
- :menu nil
- :notify-handler EditListHandler
- :event-handler nil
- :initial-list-values ()
- :initial-list-glyphs ()
- :initial-selections ()
- :user-data ()
- :actions (
- (
- :from (mainWindow editList)
- :when (Notify )
- :to (mainWindow editList)
- :function_type CallFunction
- :arg_type ()
- :action (EditListHandler)
- )
- )
- )
- (
- :type :text-field
- :name labelField
- :owner mainPanel
- :help ""
- :x 344
- :y 72
- :width 333
- :height 15
- :value-x 397
- :value-y 72
- :value-length 35
- :stored-length 255
- :rows 3
- :foreground-color ""
- :text-type :alphanumeric
- :label "Label :"
- :label-type :string
- :layout-type :horizontal
- :value-underlined t
- :initial-value ""
- :initial-state :active
- :read-only nil
- :notify-handler LabelFieldHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow labelField)
- :when (Notify )
- :to (mainWindow labelField)
- :function_type CallFunction
- :arg_type ()
- :action (LabelFieldHandler)
- )
- )
- )
- (
- :type :button
- :name addButton
- :owner mainPanel
- :help ""
- :x 320
- :y 144
- :width 78
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label " Add "
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler AddHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow addButton)
- :when (Notify )
- :to (mainWindow addButton)
- :function_type CallFunction
- :arg_type ()
- :action (AddHandler)
- )
- )
- )
- (
- :type :button
- :name modifyButton
- :owner mainPanel
- :help ""
- :x 406
- :y 144
- :width 80
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label " Modify "
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler ModifyHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow modifyButton)
- :when (Notify )
- :to (mainWindow modifyButton)
- :function_type CallFunction
- :arg_type ()
- :action (ModifyHandler)
- )
- )
- )
- (
- :type :button
- :name deleteButton
- :owner mainPanel
- :help ""
- :x 492
- :y 144
- :width 73
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label " Delete "
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler DeleteHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow deleteButton)
- :when (Notify )
- :to (mainWindow deleteButton)
- :function_type CallFunction
- :arg_type ()
- :action (DeleteHandler)
- )
- )
- )
- (
- :type :button
- :name deleteAllButton
- :owner mainPanel
- :help ""
- :x 578
- :y 144
- :width 81
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Delete All "
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler DeleteAllHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow deleteAllButton)
- :when (Notify )
- :to (mainWindow deleteAllButton)
- :function_type CallFunction
- :arg_type ()
- :action (DeleteAllHandler)
- )
- )
- )
- (
- :type :control-area
- :name input1Panel
- :owner mainWindow
- :help ""
- :x 0
- :y 200
- :width 350
- :height 300
- :background-color ""
- :foreground-color ""
- :initial-state :visible
- :show-border t
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name input1Message
- :owner input1Panel
- :help ""
- :x 136
- :y 16
- :width 49
- :height 13
- :foreground-color ""
- :label "Input 1"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :setting
- :name input1ShownChoice
- :owner input1Panel
- :help ""
- :x 16
- :y 56
- :width 117
- :height 23
- :value-x 16
- :value-y 56
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label ""
- :label-type :string
- :notify-handler nil
- :event-handler nil
- :choices ("Visible" "Hidden" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (mainWindow input1ShownChoice "Hidden")
- :when (Notify )
- :to (mainWindow input1ShownChoice "Hidden")
- :function_type CallFunction
- :arg_type ()
- :action (HideWindow)
- )
- (
- :from (mainWindow input1ShownChoice "Visible")
- :when (Notify )
- :to (mainWindow input1ShownChoice "Visible")
- :function_type CallFunction
- :arg_type ()
- :action (ShowWindow)
- )
- )
- )
- (
- :type :setting
- :name input1CroppedChoice
- :owner input1Panel
- :help ""
- :x 200
- :y 56
- :width 111
- :height 23
- :value-x 200
- :value-y 56
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label ""
- :label-type :string
- :notify-handler nil
- :event-handler nil
- :choices ("Crop" "Squeeze" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (mainWindow input1CroppedChoice "Crop")
- :when (Notify )
- :to (mainWindow input1CroppedChoice "Crop")
- :function_type CallFunction
- :arg_type ()
- :action (CropWindow)
- )
- (
- :from (mainWindow input1CroppedChoice "Squeeze")
- :when (Notify )
- :to (mainWindow input1CroppedChoice "Squeeze")
- :function_type CallFunction
- :arg_type ()
- :action (SqueezeWindow)
- )
- )
- )
- (
- :type :setting
- :name input1AspectChoice
- :owner input1Panel
- :help ""
- :x 16
- :y 104
- :width 178
- :height 23
- :value-x 112
- :value-y 104
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label "Aspect Ratio:"
- :label-type :string
- :notify-handler nil
- :event-handler nil
- :choices ("Any" "4 : 3" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (mainWindow input1AspectChoice "Any")
- :when (Notify )
- :to (mainWindow input1AspectChoice "Any")
- :function_type CallFunction
- :arg_type ()
- :action (SetAspectAny)
- )
- (
- :from (mainWindow input1AspectChoice "4 : 3")
- :when (Notify )
- :to (mainWindow input1AspectChoice "4 : 3")
- :function_type CallFunction
- :arg_type ()
- :action (SetAspect4to3)
- )
- )
- )
- (
- :type :slider
- :name input1BrightSlider
- :owner input1Panel
- :help ""
- :x 3
- :y 152
- :width 324
- :height 20
- :value-x 85
- :value-y 152
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Brightness :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler BrightnessHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input1BrightSlider)
- :when (Notify )
- :to (mainWindow input1BrightSlider)
- :function_type CallFunction
- :arg_type ()
- :action (BrightnessHandler)
- )
- )
- )
- (
- :type :slider
- :name input1ContrastSlider
- :owner input1Panel
- :help ""
- :x 20
- :y 184
- :width 307
- :height 20
- :value-x 85
- :value-y 184
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Contrast :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler ContrastHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input1ContrastSlider)
- :when (Notify )
- :to (mainWindow input1ContrastSlider)
- :function_type CallFunction
- :arg_type ()
- :action (ContrastHandler)
- )
- )
- )
- (
- :type :slider
- :name input1SaturationSlider
- :owner input1Panel
- :help ""
- :x 7
- :y 216
- :width 320
- :height 20
- :value-x 85
- :value-y 216
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Saturation :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler SaturationHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input1SaturationSlider)
- :when (Notify )
- :to (mainWindow input1SaturationSlider)
- :function_type CallFunction
- :arg_type ()
- :action (SaturationHandler)
- )
- )
- )
- (
- :type :slider
- :name input1HueSlider
- :owner input1Panel
- :help ""
- :x 51
- :y 248
- :width 276
- :height 20
- :value-x 85
- :value-y 248
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Hue :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler HueHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input1HueSlider)
- :when (Notify )
- :to (mainWindow input1HueSlider)
- :function_type CallFunction
- :arg_type ()
- :action (HueHandler)
- )
- )
- )
- (
- :type :control-area
- :name input2Panel
- :owner mainWindow
- :help ""
- :x 350
- :y 200
- :width 350
- :height 300
- :background-color ""
- :foreground-color ""
- :initial-state :visible
- :show-border t
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name input2Message
- :owner input2Panel
- :help ""
- :x 146
- :y 16
- :width 49
- :height 13
- :foreground-color ""
- :label "Input 2"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :setting
- :name input2ShownChoice
- :owner input2Panel
- :help ""
- :x 26
- :y 56
- :width 117
- :height 23
- :value-x 26
- :value-y 56
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label ""
- :label-type :string
- :notify-handler nil
- :event-handler nil
- :choices ("Visible" "Hidden" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (mainWindow input2ShownChoice "Visible")
- :when (Notify )
- :to (mainWindow input2ShownChoice "Visible")
- :function_type CallFunction
- :arg_type ()
- :action (ShowWindow)
- )
- (
- :from (mainWindow input2ShownChoice "Hidden")
- :when (Notify )
- :to (mainWindow input2ShownChoice "Hidden")
- :function_type CallFunction
- :arg_type ()
- :action (HideWindow)
- )
- )
- )
- (
- :type :setting
- :name input2CroppedChoice
- :owner input2Panel
- :help ""
- :x 210
- :y 56
- :width 111
- :height 23
- :value-x 210
- :value-y 56
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label ""
- :label-type :string
- :notify-handler nil
- :event-handler nil
- :choices ("Crop" "Squeeze" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (mainWindow input2CroppedChoice "Crop")
- :when (Notify )
- :to (mainWindow input2CroppedChoice "Crop")
- :function_type CallFunction
- :arg_type ()
- :action (CropWindow)
- )
- (
- :from (mainWindow input2CroppedChoice "Squeeze")
- :when (Notify )
- :to (mainWindow input2CroppedChoice "Squeeze")
- :function_type CallFunction
- :arg_type ()
- :action (SqueezeWindow)
- )
- )
- )
- (
- :type :setting
- :name input2AspectChoice
- :owner input2Panel
- :help ""
- :x 26
- :y 104
- :width 178
- :height 23
- :value-x 122
- :value-y 104
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label "Aspect Ratio:"
- :label-type :string
- :notify-handler nil
- :event-handler nil
- :choices ("Any" "4 : 3" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (mainWindow input2AspectChoice "Any")
- :when (Notify )
- :to (mainWindow input2AspectChoice "Any")
- :function_type CallFunction
- :arg_type ()
- :action (SetAspectAny)
- )
- (
- :from (mainWindow input2AspectChoice "4 : 3")
- :when (Notify )
- :to (mainWindow input2AspectChoice "4 : 3")
- :function_type CallFunction
- :arg_type ()
- :action (SetAspect4to3)
- )
- )
- )
- (
- :type :slider
- :name input2BrightSlider
- :owner input2Panel
- :help ""
- :x 8
- :y 152
- :width 324
- :height 20
- :value-x 90
- :value-y 152
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Brightness :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler BrightnessHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input2BrightSlider)
- :when (Notify )
- :to (mainWindow input2BrightSlider)
- :function_type CallFunction
- :arg_type ()
- :action (BrightnessHandler)
- )
- )
- )
- (
- :type :slider
- :name input2ContrastSlider
- :owner input2Panel
- :help ""
- :x 25
- :y 184
- :width 307
- :height 20
- :value-x 90
- :value-y 184
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Contrast :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler ContrastHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input2ContrastSlider)
- :when (Notify )
- :to (mainWindow input2ContrastSlider)
- :function_type CallFunction
- :arg_type ()
- :action (ContrastHandler)
- )
- )
- )
- (
- :type :slider
- :name input2SaturationSlider
- :owner input2Panel
- :help ""
- :x 12
- :y 216
- :width 320
- :height 20
- :value-x 90
- :value-y 216
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Saturation :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler SaturationHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input2SaturationSlider)
- :when (Notify )
- :to (mainWindow input2SaturationSlider)
- :function_type CallFunction
- :arg_type ()
- :action (SaturationHandler)
- )
- )
- )
- (
- :type :slider
- :name input2HueSlider
- :owner input2Panel
- :help ""
- :x 56
- :y 248
- :width 276
- :height 20
- :value-x 90
- :value-y 248
- :slider-width 200
- :ticks 0
- :foreground-color ""
- :label "Hue :"
- :label-type :string
- :layout-type :horizontal
- :orientation :horizontal
- :show-endboxes t
- :show-range nil
- :show-value nil
- :min-value 0
- :max-value 255
- :min-value-string ""
- :max-value-string ""
- :min-tick-string ""
- :max-tick-string ""
- :initial-value 0
- :initial-state :active
- :notify-handler HueHandler
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (mainWindow input2HueSlider)
- :when (Notify )
- :to (mainWindow input2HueSlider)
- :function_type CallFunction
- :arg_type ()
- :action (HueHandler)
- )
- )
- )
- (
- :type :base-window
- :name inputWindow1
- :owner nil
- :width 640
- :height 480
- :background-color ""
- :foreground-color ""
- :label "Input1"
- :label-type :string
- :initial-state :open
- :show-footer nil
- :resizable t
- :icon-file "icons/1"
- :icon-label ""
- :icon-mask-file ""
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (inputWindow1)
- :when (Resize )
- :to (inputWindow1)
- :function_type CallFunction
- :arg_type ()
- :action (ResizeHandler)
- )
- )
- )
- (
- :type :base-window
- :name inputWindow2
- :owner nil
- :width 640
- :height 480
- :background-color ""
- :foreground-color ""
- :label "Input2"
- :label-type :string
- :initial-state :open
- :show-footer nil
- :resizable t
- :icon-file "icons/2"
- :icon-label ""
- :icon-mask-file ""
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (inputWindow2)
- :when (Resize )
- :to (inputWindow2)
- :function_type CallFunction
- :arg_type ()
- :action (ResizeHandler)
- )
- )
- )
- )
-